package myJs

import myJs.Implicits._
import myJs.cps.{PureInputCp, Style}
import myJs.myPkg.{MyFetch, ReactRouterDOM}
import org.scalajs.dom.window.localStorage
import slinky.core.FunctionalComponent
import slinky.core.annotations.react
import slinky.core.facade.Hooks._
import slinky.web.html._
import typings.csstype.csstypeStrings

import scala.concurrent.ExecutionContext.Implicits.global
import scala.scalajs.js

/**
 * Created by yz on 22/4/2022
 */
@react object FooterCp {

  type Props = Unit

  val component = FunctionalComponent[Props] { props =>

    div(style := Style(background = "#F0F6FA", fontSize = "13px", padding = "5px 0px", marginTop = "5px",
      marginBottom = "5px"), className := "page-footer",
      div(style := Style(textAlign = csstypeStrings.center),
        "Copyright © 2022 ",
        "GepLiver Program",
        ", Fudan university, China", br(),
        "All Rights Reserved."
      )
    )

  }

}
